
/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"199A00C7-19FD-4153-82DA-83F83870D567"}
 */
function nuevo(event) {
	foundset.newRecord()
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"0C008FD0-08F8-4632-B3B4-75F0ABF3B6E1"}
 */
function borrar(event) {
	var $resp = globals.DIALOGS.showQuestionDialog('Confirmación','¿Desea eliminar esta tarifa?','Si','No')
	if ($resp == 'Si')
		foundset.deleteRecord()
}
